Skip to content

fix bug in GetJsonKeyForType#39

Merged
SphtKr merged 1 commit intoJSONAPIdotNET:masterfrom
csantero:mm-bug
Jan 29, 2015
Merged

fix bug in GetJsonKeyForType#39
SphtKr merged 1 commit intoJSONAPIdotNET:masterfrom
csantero:mm-bug

Conversation

@csantero
Copy link
Copy Markdown
Collaborator

If you try to call ModelManager.GetJsonKeyForType() for a single type, and then call it for an array of that same type, it will throw an error because it is trying to add to the cache a key that already exists.

SphtKr added a commit that referenced this pull request Jan 29, 2015
fix bug in GetJsonKeyForType
@SphtKr SphtKr merged commit 14d3412 into JSONAPIdotNET:master Jan 29, 2015
@SphtKr
Copy link
Copy Markdown
Collaborator

SphtKr commented Jan 29, 2015

Ugh...yep. Duh.

@csantero csantero deleted the mm-bug branch January 29, 2015 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants